/**
 * output package name
 */
package com.kingdee.eas.xbang.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CharEnum extends StringEnum
{
    public static final String ADD_VALUE = "1";
    public static final String MINUS_VALUE = "2";
    public static final String MULTIPLY_VALUE = "3";
    public static final String DIVIDE_VALUE = "4";

    public static final CharEnum add = new CharEnum("add", ADD_VALUE);
    public static final CharEnum minus = new CharEnum("minus", MINUS_VALUE);
    public static final CharEnum multiply = new CharEnum("multiply", MULTIPLY_VALUE);
    public static final CharEnum divide = new CharEnum("divide", DIVIDE_VALUE);

    /**
     * construct function
     * @param String charEnum
     */
    private CharEnum(String name, String charEnum)
    {
        super(name, charEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CharEnum getEnum(String charEnum)
    {
        return (CharEnum)getEnum(CharEnum.class, charEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CharEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CharEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CharEnum.class);
    }
}